<form method="post" class="" action="<?php echo Yii::app()->createUrl('header/Change'); ?>">
            <?php  echo CHtml::dropDownList('listname','',
               CHtml::listData(Header::model()->findAll(),'id_header','name_header'),
              array('empty' => 'Select Header'));
            ?>
            <div class="clear"></div>
<input class="btn btn-primary" type="submit" name="sub" value="Active"/>
<?php
/* @var $this HeaderController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Headers',
);

$this->menu=array(
	array('label'=>'Create Header', 'url'=>array('create')),
	array('label'=>'Manage Header', 'url'=>array('admin')),
);
?>

<h1>Headers</h1>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
